package com.zhang.servicemap.controller;

import com.zhang.internalcommon.dto.PointRequest;
import com.zhang.internalcommon.dto.ResponseResult;
import com.zhang.servicemap.service.PointService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 类功能描述
 *
 * @author Kye
 * @date 2025-04-15
 */
@RestController
@RequestMapping("/point")
public class PointController {

	@Autowired
	private PointService pointService;

	@PostMapping("/upload")
	public ResponseResult upload(@RequestBody PointRequest pointRequest){
		return pointService.upload(pointRequest);
	}
}
